\(\int \frac {1}{\sqrt {\text {arccosh}(a x)}} \, dx\) [94]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [F(-2)]
   Sympy [F]
   Maxima [F]
   Giac [F]
   Mupad [F(-1)]

Optimal result

Integrand size = 8, antiderivative size = 43 \[ \int \frac {1}{\sqrt {\text {arccosh}(a x)}} \, dx=-\frac {\sqrt {\pi } \text {erf}\left (\sqrt {\text {arccosh}(a x)}\right )}{2 a}+\frac {\sqrt {\pi } \text {erfi}\left (\sqrt {\text {arccosh}(a x)}\right )}{2 a} \]

[Out]

-1/2*erf(arccosh(a*x)^(1/2))*Pi^(1/2)/a+1/2*erfi(arccosh(a*x)^(1/2))*Pi^(1/2)/a

Rubi [A] (verified)

Time = 0.03 (sec) , antiderivative size = 43, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.625, Rules used = {5881, 3389, 2211, 2235, 2236} \[ \int \frac {1}{\sqrt {\text {arccosh}(a x)}} \, dx=\frac {\sqrt {\pi } \text {erfi}\left (\sqrt {\text {arccosh}(a x)}\right )}{2 a}-\frac {\sqrt {\pi } \text {erf}\left (\sqrt {\text {arccosh}(a x)}\right )}{2 a} \]

[In]

Int[1/Sqrt[ArcCosh[a*x]],x]

[Out]

-1/2*(Sqrt[Pi]*Erf[Sqrt[ArcCosh[a*x]]])/a + (Sqrt[Pi]*Erfi[Sqrt[ArcCosh[a*x]]])/(2*a)

Rule 2211

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[F^(g*(e - c*(
f/d)) + f*g*(x^2/d)), x], x, Sqrt[c + d*x]], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !TrueQ[$UseGamma]

Rule 2235

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt[Pi]*(Erfi[(c + d*x)*Rt[b*Log[F], 2
]]/(2*d*Rt[b*Log[F], 2])), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 2236

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[F^a*Sqrt[Pi]*(Erf[(c + d*x)*Rt[(-b)*Log[F],
 2]]/(2*d*Rt[(-b)*Log[F], 2])), x] /; FreeQ[{F, a, b, c, d}, x] && NegQ[b]

Rule 3389

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/E^(I*(e + f*x))
, x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d, e, f, m}, x]

Rule 5881

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_), x_Symbol] :> Dist[1/(b*c), Subst[Int[x^n*Sinh[-a/b + x/b], x], x
, a + b*ArcCosh[c*x]], x] /; FreeQ[{a, b, c, n}, x]

Rubi steps \begin{align*} \text {integral}& = \frac {\text {Subst}\left (\int \frac {\sinh (x)}{\sqrt {x}} \, dx,x,\text {arccosh}(a x)\right )}{a} \\ & = -\frac {\text {Subst}\left (\int \frac {e^{-x}}{\sqrt {x}} \, dx,x,\text {arccosh}(a x)\right )}{2 a}+\frac {\text {Subst}\left (\int \frac {e^x}{\sqrt {x}} \, dx,x,\text {arccosh}(a x)\right )}{2 a} \\ & = -\frac {\text {Subst}\left (\int e^{-x^2} \, dx,x,\sqrt {\text {arccosh}(a x)}\right )}{a}+\frac {\text {Subst}\left (\int e^{x^2} \, dx,x,\sqrt {\text {arccosh}(a x)}\right )}{a} \\ & = -\frac {\sqrt {\pi } \text {erf}\left (\sqrt {\text {arccosh}(a x)}\right )}{2 a}+\frac {\sqrt {\pi } \text {erfi}\left (\sqrt {\text {arccosh}(a x)}\right )}{2 a} \\ \end{align*}

Mathematica [A] (verified)

Time = 0.02 (sec) , antiderivative size = 45, normalized size of antiderivative = 1.05 \[ \int \frac {1}{\sqrt {\text {arccosh}(a x)}} \, dx=\frac {\frac {\sqrt {-\text {arccosh}(a x)} \Gamma \left (\frac {1}{2},-\text {arccosh}(a x)\right )}{\sqrt {\text {arccosh}(a x)}}+\Gamma \left (\frac {1}{2},\text {arccosh}(a x)\right )}{2 a} \]

[In]

Integrate[1/Sqrt[ArcCosh[a*x]],x]

[Out]

((Sqrt[-ArcCosh[a*x]]*Gamma[1/2, -ArcCosh[a*x]])/Sqrt[ArcCosh[a*x]] + Gamma[1/2, ArcCosh[a*x]])/(2*a)

Maple [A] (verified)

Time = 0.11 (sec) , antiderivative size = 26, normalized size of antiderivative = 0.60

method result size
default \(-\frac {\sqrt {\pi }\, \left (\operatorname {erf}\left (\sqrt {\operatorname {arccosh}\left (a x \right )}\right )-\operatorname {erfi}\left (\sqrt {\operatorname {arccosh}\left (a x \right )}\right )\right )}{2 a}\) \(26\)

[In]

int(1/arccosh(a*x)^(1/2),x,method=_RETURNVERBOSE)

[Out]

-1/2*Pi^(1/2)*(erf(arccosh(a*x)^(1/2))-erfi(arccosh(a*x)^(1/2)))/a

Fricas [F(-2)]

Exception generated. \[ \int \frac {1}{\sqrt {\text {arccosh}(a x)}} \, dx=\text {Exception raised: TypeError} \]

[In]

integrate(1/arccosh(a*x)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

Sympy [F]

\[ \int \frac {1}{\sqrt {\text {arccosh}(a x)}} \, dx=\int \frac {1}{\sqrt {\operatorname {acosh}{\left (a x \right )}}}\, dx \]

[In]

integrate(1/acosh(a*x)**(1/2),x)

[Out]

Integral(1/sqrt(acosh(a*x)), x)

Maxima [F]

\[ \int \frac {1}{\sqrt {\text {arccosh}(a x)}} \, dx=\int { \frac {1}{\sqrt {\operatorname {arcosh}\left (a x\right )}} \,d x } \]

[In]

integrate(1/arccosh(a*x)^(1/2),x, algorithm="maxima")

[Out]

integrate(1/sqrt(arccosh(a*x)), x)

Giac [F]

\[ \int \frac {1}{\sqrt {\text {arccosh}(a x)}} \, dx=\int { \frac {1}{\sqrt {\operatorname {arcosh}\left (a x\right )}} \,d x } \]

[In]

integrate(1/arccosh(a*x)^(1/2),x, algorithm="giac")

[Out]

integrate(1/sqrt(arccosh(a*x)), x)

Mupad [F(-1)]

Timed out. \[ \int \frac {1}{\sqrt {\text {arccosh}(a x)}} \, dx=\int \frac {1}{\sqrt {\mathrm {acosh}\left (a\,x\right )}} \,d x \]

[In]

int(1/acosh(a*x)^(1/2),x)

[Out]

int(1/acosh(a*x)^(1/2), x)